system-wide: fix escaping of magic chars
authorDirk Brenken <[email protected]>
Sat, 29 Jun 2019 17:26:07 +0000 (19:26 +0200)
committerDirk Brenken <[email protected]>
Sat, 29 Jun 2019 17:26:07 +0000 (19:26 +0200)
commitf73da9ca82ff8e0352c3942ea78ab7d1d0317668
treec4f988db0f2bb8049230cefe52469b54c6007178
parent86fd703bae2089cfd0dd7e06c1dd20c4b956767a
system-wide: fix escaping of magic chars

* fix escaping of magic lua chars (#2800)
* fix redundant second gsub line in shellstartsqescape function
* fix return value of shellstartsqescape function

Signed-off-by: Dirk Brenken <[email protected]>
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua
modules/luci-base/luasrc/cbi/datatypes.lua
modules/luci-base/luasrc/util.lua